<div ng-click="showData(card)">
    <div ng-repeat="data1 in card.data">
        <div ng-if="data1.type=='items'">
            <div ng-repeat="item in data1.value" style="display: flex;padding:12px 15px;">
                <img src="{{item.img}}" style="width:80px;height:80px;" />
                <div style="display: block;margin-left:10px;width:100%;">
                    <div style="overflow: hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;">{{item.title}}</div>
                    <div>￥{{item.price}}</div>
                    <div style="text-align: right;">
                        <button style="background:red;color:#ffffff;border-radius:15px;padding:0 15px;font-size:8pt;line-height:20px;height:20px;border:1px solid red;">立即购买</button>
                    </div>
                </div>
            </div>
            <view ng-if="data1.value.length==0">
                {{card.title}}
            </view>
        </div>
    </div>

</div>